package com.lgy.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * car
 * @author 
 */
@Data
public class Car implements Serializable {
    /**
     * 汽车编号
     */
    private Integer carId;

    /**
     * 车系编号
     */
    private Integer seriesId;

    /**
     * 汽车名称
     */
    private String carName;

    /**
     * 汽车价格
     */
    private BigDecimal carPrice;

    /**
     * 出厂日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date carTime;

    private List<Carseries> carseriesList;

    private Carseries carSeries;
    private CarBrand carBrand;

    private static final long serialVersionUID = 1L;
}